status=[]
size=20
def gen(x,y,flag=0):
    if flag>0:
        return flag
    else:
        return 1

def reverse(t):
    t.reverse()
    return t
def dismiss(x,y):
    for i in reverse(range(y)):
        if i==0:
            status[x][i]=gen(x,0,10)
        else:
            status[x][i]=status[x][i-1]
       # show()
def show():
    for y in range(size):
        for x in range(size):
            print status[x][y],
        print

    

for x in range(size):
    t=[]
    for y in range(size):
        t.append(gen(x,y,0))
    status.append(t)



